package com.orderVideo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 视频表
 * @TableName video
 */
@TableName(value ="video")
@Data
public class Video implements Serializable {
    /**
     * 
     */
    @TableId(value = "video_id")
    private String videoId;

    /**
     * 关联用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 视频名称
     */
    @TableField(value = "video_name")
    private String videoName;

    /**
     * 视频地址
     */
    @TableField(value = "video_path")
    private String videoPath;

    /**
     * 视频来源（1-快手 2-抖音 3-小红书）
     */
    @TableField(value = "video_source")
    private Integer videoSource;

    /**
     * 视频上传时间
     */
    @TableField(value = "video_push_time")
    private LocalDateTime videoPushTime;

    /**
     * 视频第一帧-封面
     */
    @TableField(value = "video_img_path")
    private String videoImgPath;

    /**
     * 视频后缀名
     */
    @TableField(value = "video_suffix")
    private String videoSuffix;

    /**
     * 视频描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 视频播放量
     */
    @TableField(value = "order_plays")
    private Long orderPlays;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}